﻿<%@ Page Title="" Language="C#" MasterPageFile="~/GUI/User/TrangCaNhan.master" AutoEventWireup="true" CodeBehind="PLayListCuaToi.aspx.cs" Inherits="ProjectWebNhac.GUI.User.PLayListCuaToi" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

 <div class="main-top span9">
                            <div class="span9 no-margin">
                                <h1>Playlist của tôi</h1>
                                <div class="options-line">
                                    <div class="breadcrumb-container">
                                        <ul class="breadcrumb">
                                            <li><a href="TrangChu.aspx">Trang chủ</a> <span class="divider">»</span></li>
                                            <li class="active">Playlist của tôi</li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>

<div class="span12 no-margin online-player album-article"  style="width: 870px">
   <div class="song" style="background-color:#f0f0f0">
                             <h1>Danh Sách PlayList</h1>
                            </div>
   
   <asp:Repeater ID="rePlaylist" runat="server" 
        onitemcommand="rePlaylist_ItemCommand">
                            <ItemTemplate>
                           <div class='track-line'>
                                <div class='span9 no-margin'>
                                   
                                    <div class="jp-audio custom" id="jp_container_1">
                                        <div class="jp-type-single">
                                            <div class="jp-gui jp-interface">
                                                
                                                <div class='name'>
                                                    <div class="jp-title">
                                                        <ul>
                                                            <li><a href="ChiTietPlayList.aspx?MaPlaylist=<%#Eval("MaPlaylist") %>"><%#Eval("TenPlaylist")%></a> </li>
                                                            <li>Ngày Tạo : <%#Eval("NgayTao", "{0:dd-MM-yyyy}")%></li>
                                                        </ul>
                                                    </div>
                                                    
                                                </div>
                                                <div class="right" style="width: 25px;">
                                                <ul>
                                                <li style="width: 60px;">
                                                 <asp:ImageButton ID="btnEdit" runat="server" CommandArgument='<%#Eval("MaPlaylist")%>' CommandName="Edit" ImageUrl="img/Edit.png" />
                                                 <asp:ImageButton ID="btnXoa"  OnClientClick="javascript:return confirm('Bạn có chắc xóa playlist này?');"  runat="server" CommandArgument='<%#Eval("MaPlaylist")%>' CommandName="Xoa" ImageUrl="img/xoa.png" />
                                                </li>
                                                </ul>
                                            </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                
                            </div>
                            </ItemTemplate>
                            </asp:Repeater>

</div>
</asp:Content>
